home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / emacs-complete / fsf / emacs / src / m / mips4.h < prev    next >
C/C++ Source or Header  |  1994-06-20  |  2KB  |  60 lines

  1. /* machine description file for Mips running RISCOS version 4.  */
  2.  
  3. #include "mips.h"
  4.  
  5. /* The following line tells the configuration script what sort of 
  6.    operating system this machine is likely to run.
  7.    USUAL-OPSYS="note"
  8.  
  9. NOTE-START
  10. Use -opsystem=usg5-2-2 normally, or -opsystem=bsd4-3 with the BSD
  11. world.
  12. NOTE-END  */
  13.  
  14. #if 0
  15. /* Define MIPS2 if you have an R6000 or R4000.  */
  16. #define MIPS2
  17. #endif
  18.  
  19. #ifdef __GNUC__
  20. #define C_DEBUG_SWITCH -g -O
  21. #else
  22. /* We used to have  -systype bsd43, but a configure change
  23.    now takes care of that option.  */
  24. #ifdef MIPS2
  25. #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000 -mips2
  26. #else
  27. #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000
  28. #endif
  29. #endif
  30.  
  31. #ifdef TERMINFO
  32. #undef TERMINFO
  33. #endif
  34.  
  35. #define START_FILES pre-crt0.o /lib/crt1.o
  36. /* Used to have -lisode, but jlp@math.byu.edu says remove it
  37.    (for RISCOS 4.52).  */
  38. /* ethanb@ptolemy.astro.washington.edu says crtn.o uses _ctype
  39.    and therefore we must search libc again after crtn.o.
  40.    The -L is used to force second -lc to find the sysv version
  41.    of libc.a, which is needed because the BSD libc.a
  42.    doesn't have _ctype.  */
  43. #define LIB_STANDARD -lmld -lc /lib/crtn.o -L/usr/lib -lc
  44.  
  45.  
  46. #define COFF
  47. #undef LD_SWITCH_MACHINE
  48. #define LD_SWITCH_MACHINE -systype bsd43 -g3 -D 800000
  49.  
  50. #define NO_MODE_T
  51.  
  52. /* These are needed on Riscos 4.0.
  53.    It appears that's the only system which uses mips4.h and defined BSD.  */
  54. #ifdef BSD
  55. #undef HAVE_STRERROR
  56. #undef HAVE_XRMSETDATABASE
  57. #undef HAVE_XSCREENRESOURCESTRING
  58. #undef HAVE_SETSID
  59. #endif
  60.